package com.mochat.mapper;

import java.util.List;

import com.mochat.model.ChatRoom;

public interface RoomMapper {
	
	List<ChatRoom> getAllRooms();
	
	List<ChatRoom> getRooms(ChatRoom chatRoom );
	
	int updateChatRoom(ChatRoom chatRoom);
	
	int insertChatRoom(ChatRoom chatRoom);

}
